<template>

    <draggable v-model="myArray" :group="{}">
        <transition-group>
            <div v-for="element in myArray" :key="element.id">
                {{element.name}}
            </div>
        </transition-group>
    </draggable>
</template>

<script setup>
import {ref} from "vue";
import draggable from "vuedraggable";

let myArray = ref([]);
// export default {
//     name: "DraggableTest1"
// }
</script>

<style scoped>

</style>